package com.example.material.repository;

import com.example.material.entity.Material;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 物料数据访问接口
 */
@Repository
public interface MaterialRepository extends JpaRepository<Material, Long> {
    Material findByCode(String code);
} 